package com.jn.hilt.manager;

import android.util.Log;

import com.jn.hilt.entity.User;

import javax.inject.Inject;

public class UserStorage {
    @Inject
    public UserStorage() {
    }

    // 模拟保存用户
    public void saveUser(User user) {
        Log.d("asdf", "save user : " + user.getName());
    }

    // 模拟读取用户
    public User getSavedUser() {
        return new User("001", "默认用户", 25, "jilin");
    }
}